<<<<<<< HEAD
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Scrollpic extends CI_Controller {
	
	
	function view($scrollpic_id){
		$this->load->model('scrollpic_model');
  		$scrollpic = $this->scrollpic_model->get_scrollpic_obj($scrollpic_id);
  		$vdata['scrollpic'] = $scrollpic;
  		$this->load->view("/sys_admin/scrollpic_view", $vdata);
	}
	
	
	function zhs_scrollpiclist(){
		$this->load->model('scrollpic_model');
		$vdata = $this->scrollpic_model->get_scrollpic_list();
		$this->load->view('/sys_admin/scrollpic_list', $vdata);
	}
	
	function remove(){
		$id 				= $this->input->post('id');
  		$data["is_del"]		= 1;
  		$this->load->model('scrollpic_model');
		echo  $this->scrollpic_model->update($id, $data);
	}
	
}
=======
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Scrollpic extends CI_Controller {
    
	
	function view($scrollpic_id){
		$this->load->model('scrollpic_model');
  		$scrollpic = $this->scrollpic_model->get_scrollpic_obj($scrollpic_id);
  		$vdata['scrollpic'] = $scrollpic;
  		$this->load->view("/sys_admin/scrollpic_view", $vdata);
	}
	
	
	function zhs_scrollpiclist(){
		$this->load->model('scrollpic_model');
		$vdata = $this->scrollpic_model->get_scrollpic_list();
		$this->load->view('/sys_admin/scrollpic_list', $vdata);
	}
	
	function remove(){
		$id 				= $this->input->post('id');
  		$data["is_del"]		= 1;
  		$this->load->model('scrollpic_model');
		echo  $this->scrollpic_model->update($id, $data);
	}
	
}
>>>>>>> d47623b610d79a4eeb489500830c00d70933f414
